package com.steven.download.entity;

import androidx.room.Entity;
import androidx.room.Index;
import androidx.room.PrimaryKey;

/**
 * @Des: 解压后的json路径
 * @Author: hwz
 * @Date:2021/11/12 0012
 * @Version: 1.0
 */
@Entity(tableName = "jsonpath" , indices = {@Index(value = {"path"},unique = true)})
public class JsonPathEntity {
    @PrimaryKey(autoGenerate = true)
    public int uid;
    private String path;
    private String zipPath;

    public JsonPathEntity(String path, String zipPath) {
        this.path = path;
        this.zipPath = zipPath;
    }

    public String getZipPath() {
        return zipPath;
    }

    public void setZipPath(String zipPath) {
        this.zipPath = zipPath;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
